Pagini recente » Borderou de evaluare (job #503462) | Borderou de evaluare (job #1388851) | Borderou de evaluare (job #1059011) | Cod sursa (job #243293) | Borderou de evaluare (job #1528225)
Borderou de evaluare (job #1528225)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("coins.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("coins.out","w",stdout);
^
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:39:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a);x=nr=0;
^
/tmp/ccctxoFn.o: In function `main':
user.cpp:(.text.startup+0x18c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 1208ms | 4360kb | Ok! | 10 |
| 2 | 1208ms | 4360kb | Ok! | 10 |
| 3 | 1204ms | 4356kb | Ok! | 10 |
| 4 | 1212ms | 4356kb | Ok! | 10 |
| 5 | 1228ms | 4356kb | Ok! | 10 |
| 6 | 1204ms | 4360kb | Ok! | 10 |
| 7 | 1196ms | 4360kb | Ok! | 10 |
| 8 | 1236ms | 4356kb | Ok! | 10 |
| 9 | 1252ms | 4356kb | Ok! | 10 |
| 10 | 1264ms | 4356kb | Ok! | 10 |
| Punctaj total | 100 |