Pagini recente » Borderou de evaluare (job #3879) | Borderou de evaluare (job #1143429) | Borderou de evaluare (job #745344) | Borderou de evaluare (job #877508) | Borderou de evaluare (job #1225201)
Borderou de evaluare (job #1225201)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cover.in", "r", stdin);
^
user.cpp:25:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("cover.out", "w", stdout);
^
user.cpp:28:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d\n", &N_Init, &L);
^
user.cpp:29:13: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (sir+1);
^
user.cpp:37:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &initial[i].st, &initial[i].dr);
^
/tmp/ccUB2LcW.o: In function `main':
user.cpp:(.text.startup+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 292kb | OK | 10 |
2 | 0ms | 292kb | OK | 10 |
3 | 0ms | 424kb | OK | 10 |
4 | 0ms | 328kb | OK | 10 |
5 | 56ms | 5972kb | OK | 10 |
6 | 56ms | 5384kb | OK | 10 |
7 | 100ms | 12552kb | OK | 10 |
8 | 92ms | 12444kb | OK | 10 |
9 | 92ms | 12444kb | OK | 10 |
10 | 88ms | 12340kb | OK | 10 |
Punctaj total | 100 |