Pagini recente » Borderou de evaluare (job #2813096) | Borderou de evaluare (job #1570500) | Cod sursa (job #432240) | Borderou de evaluare (job #829981) | Borderou de evaluare (job #1603334)
Borderou de evaluare (job #1603334)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82:39: 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:83:41: 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:87:27: 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:88:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:99:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c %c\n",&c1,&c2);
^
/tmp/cciO0Ubq.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 | 392kb | Ok! | 10 |
2 | 0ms | 524kb | Ok! | 10 |
3 | 4ms | 1408kb | Ok! | 10 |
4 | 16ms | 3144kb | Ok! | 10 |
5 | 24ms | 3668kb | Ok! | 10 |
6 | 80ms | 5012kb | Ok! | 10 |
7 | 228ms | 8812kb | Ok! | 10 |
8 | 368ms | 13448kb | Ok! | 10 |
9 | 480ms | 15704kb | Ok! | 10 |
10 | 580ms | 18948kb | Ok! | 10 |
Punctaj total | 100 |