Pagini recente » Borderou de evaluare (job #1517371) | Borderou de evaluare (job #888298) | Borderou de evaluare (job #1757582) | Borderou de evaluare (job #1837129) | Borderou de evaluare (job #1470909)
Borderou de evaluare (job #1470909)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:97:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.in","r",stdin);
^
user.cpp:98:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("kami.out","w",stdout);
^
user.cpp:100:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:102:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp:106:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d", &m); m ; --m)
^
user.cpp:108:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tip);
^
user.cpp:111:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &pos);
^
user.cpp:133:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &pos, &val);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 284kb | OK | 10 | 10 |
2 | 0ms | 340kb | Incorect | 0 | 0 |
3 | 24ms | 3452kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
4 | 16ms | 3008kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
5 | 20ms | 3048kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
6 | 20ms | 3048kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 24ms | 3448kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
8 | 36ms | 3444kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 36ms | 3448kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 36ms | 3444kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
Punctaj total | 10 |