Pagini recente » Borderou de evaluare (job #1498279) | Borderou de evaluare (job #1816156) | Borderou de evaluare (job #1571111) | Borderou de evaluare (job #1774408) | Borderou de evaluare (job #1483755)
Borderou de evaluare (job #1483755)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:43:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:44:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &m);
^
user.cpp:47:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i].s);
^
user.cpp: In function ‘void write()’:
user.cpp:82:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:85:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:89:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &q[i]);
^
/tmp/ccGBACUb.o: In function `read()':
user.cpp:(.text+0x1f4): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 212ms | 528kb | OK | 5 |
2 | 208ms | 532kb | OK | 5 |
3 | 20ms | 776kb | OK | 5 |
4 | 20ms | 780kb | OK | 5 |
5 | 20ms | 776kb | OK | 5 |
6 | 20ms | 776kb | OK | 5 |
7 | 188ms | 772kb | OK | 5 |
8 | 180ms | 772kb | OK | 5 |
9 | 184ms | 768kb | OK | 5 |
10 | 208ms | 528kb | OK | 5 |
11 | 200ms | 532kb | OK | 5 |
12 | 208ms | 536kb | OK | 5 |
13 | 16ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 208ms | 536kb | OK | 5 |
15 | 16ms | 464kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 12ms | 12144kb | Incorect | 0 |
17 | 12ms | 12144kb | Incorect | 0 |
18 | 12ms | 12144kb | Incorect | 0 |
19 | 12ms | 12148kb | Incorect | 0 |
20 | 12ms | 12144kb | Incorect | 0 |
Punctaj total | 65 |