Pagini recente » Borderou de evaluare (job #2644704) | Borderou de evaluare (job #3282330) | Borderou de evaluare (job #2980061) | Borderou de evaluare (job #2497278) | Borderou de evaluare (job #1385475)
Borderou de evaluare (job #1385475)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.in", "r", stdin);
^
user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("mesaj2.out", "w", stdout);
^
user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:16:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&nr);
^
user.cpp:24:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:25:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/cck78IZS.o: In function `main':
user.cpp:(.text.startup+0x5b): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 296kb | OK | 10 |
| 3 | 0ms | 372kb | OK | 10 |
| 4 | 0ms | 496kb | OK | 10 |
| 5 | 8ms | 532kb | OK | 10 |
| 6 | 4ms | 572kb | OK | 10 |
| 7 | Depăşit | 652kb | Time limit exceeded. | 0 |
| 8 | 36ms | 652kb | OK | 10 |
| 9 | 28ms | 660kb | OK | 10 |
| 10 | 16ms | 656kb | OK | 10 |
| Punctaj total | 90 |