Pagini recente » Borderou de evaluare (job #1442052) | Borderou de evaluare (job #905528) | Borderou de evaluare (job #2182659) | Borderou de evaluare (job #2212026) | Borderou de evaluare (job #1602872)
Borderou de evaluare (job #1602872)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:110:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<lit[i].size();j++){
^
user.cpp:111:46: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while(f[l][aux]==0 ||cnt[l]==cart[l].size()) l++;
^
user.cpp:83:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.in","r",stdin);
^
user.cpp:84:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("teroristi.out","w",stdout);
^
user.cpp:88:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d\n",&n,&m);
^
user.cpp:89:9: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:97:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c %c\n",&c1,&c2);
^
/tmp/cctMNiHC.o: In function `main':
user.cpp:(.text.startup+0x76): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | Ok! | 10 |
2 | 0ms | 520kb | Ok! | 10 |
3 | 4ms | 1440kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 16ms | 3100kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 24ms | 3524kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 68ms | 4932kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 156ms | 8800kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 208ms | 13448kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 276ms | 15800kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 312ms | 19024kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 20 |