Pagini recente » Borderou de evaluare (job #1971788) | Borderou de evaluare (job #2241210) | Borderou de evaluare (job #2904846) | Borderou de evaluare (job #2431839) | Borderou de evaluare (job #1498211)
Borderou de evaluare (job #1498211)
Raport evaluator
Compilare:
user.cpp: In function ‘void rw()’:
user.cpp:48:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.in", "r", stdin);
^
user.cpp:49:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag2.out", "w", stdout);
^
user.cpp:50:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:54:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &l);
^
user.cpp:55:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/cczgBrAd.o: In function `rw()':
user.cpp:(.text+0x2d4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 20ms | 1536kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 296kb | OK | 10 |
5 | 56ms | 1224kb | OK | 10 |
6 | 56ms | 1224kb | OK | 10 |
7 | 56ms | 1228kb | OK | 10 |
8 | 56ms | 1224kb | OK | 10 |
9 | 56ms | 1220kb | OK | 10 |
10 | 56ms | 1224kb | OK | 10 |
Punctaj total | 100 |