Pagini recente » Borderou de evaluare (job #1999854) | Borderou de evaluare (job #1347783) | Borderou de evaluare (job #218777) | Borderou de evaluare (job #1999519) | Borderou de evaluare (job #1728395)
Borderou de evaluare (job #1728395)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:20:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.in", "r", stdin);
^
user.cpp:21:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:24:30: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, maxM, stdin);
^
user.cpp: In function ‘void write()’:
user.cpp:100:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seti.out", "w", stdout);
^
user.cpp:101:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &m);
^
user.cpp:104:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(S);
^
/tmp/ccyqDsO7.o: In function `write()':
user.cpp:(.text+0x2b8): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 112ms | 3060kb | Incorect | 0 |
| 2 | 20ms | 1180kb | Incorect | 0 |
| 3 | 60ms | 1652kb | Incorect | 0 |
| 4 | 92ms | 1644kb | Incorect | 0 |
| 5 | 144ms | 2800kb | Incorect | 0 |
| 6 | 248ms | 3952kb | Incorect | 0 |
| 7 | 372ms | 5100kb | Incorect | 0 |
| 8 | Depăşit | 5164kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 5160kb | Time limit exceeded. | 0 |
| 10 | 392ms | 5172kb | Incorect | 0 |
| Punctaj total | 0 |