Pagini recente » Borderou de evaluare (job #419989) | Borderou de evaluare (job #1093816) | Borderou de evaluare (job #448059) | Borderou de evaluare (job #2298794) | Borderou de evaluare (job #1460922)
Borderou de evaluare (job #1460922)
Raport evaluator
Compilare:
user.cpp: In function ‘void finish()’:
user.cpp:67:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0; i<k; i++)
^
user.cpp: In function ‘void cauta(int, int)’:
user.cpp:73:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(level == k) return;
^
user.cpp:74:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=pos+1; i<n; i++)
^
user.cpp:77:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(level+1 == k && i==n-1)
^
user.cpp:77:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(level+1 == k && i==n-1)
^
user.cpp: In function ‘int main()’:
user.cpp:92:13: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=1; i<n; i++){
^
user.cpp:97:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<n-k+1; i++){
^
user.cpp:85:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.in","r",stdin);
^
user.cpp:86:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ksecv3.out","w",stdout);
^
user.cpp:90:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
user.cpp:91:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); sums[0] = x;
^
user.cpp:93:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 448kb | OK | 10 |
4 | 0ms | 436kb | OK | 10 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 48ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | 488kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 484kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 40 |