Pagini recente » Borderou de evaluare (job #363367) | Borderou de evaluare (job #962798) | Borderou de evaluare (job #582354) | Borderou de evaluare (job #2513319) | Borderou de evaluare (job #1317024)
Borderou de evaluare (job #1317024)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.in", "r", stdin);
^
user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.out", "w", stdout);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:46:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:55:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
user.cpp:69:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("nums.in", "r", stdin);
^
user.cpp:70:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &M);
^
user.cpp:74:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d ", &tip);
^
user.cpp:78:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d\n", &x);
^
user.cpp:86:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (actual + 1);
^
/tmp/ccU3Bxol.o: In function `main':
user.cpp:(.text.startup+0xc7): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 244ms | 3256kb | OK | 5 |
2 | 288ms | 7808kb | OK | 5 |
3 | 0ms | 1112kb | OK | 5 |
4 | 240ms | 3252kb | OK | 5 |
5 | 12ms | 1608kb | OK | 5 |
6 | 236ms | 3264kb | OK | 5 |
7 | 112ms | 7288kb | OK | 5 |
8 | 156ms | 6228kb | OK | 5 |
9 | 388ms | 7716kb | OK | 5 |
10 | 384ms | 7664kb | OK | 5 |
11 | 288ms | 8300kb | OK | 5 |
12 | 336ms | 7904kb | OK | 5 |
13 | 348ms | 9592kb | OK | 5 |
14 | 240ms | 4136kb | OK | 5 |
15 | 304ms | 7360kb | OK | 5 |
16 | 304ms | 7360kb | OK | 5 |
17 | 272ms | 8092kb | OK | 5 |
18 | 328ms | 8020kb | OK | 5 |
19 | 396ms | 9484kb | OK | 5 |
20 | 384ms | 9480kb | OK | 5 |
Punctaj total | 100 |