Pagini recente » Borderou de evaluare (job #2703037) | Borderou de evaluare (job #915246) | Borderou de evaluare (job #1798123) | Borderou de evaluare (job #2037627) | Borderou de evaluare (job #1226827)
Borderou de evaluare (job #1226827)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesmen.in","r",stdin);
^
user.cpp:17:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("treesmen.out","w",stdout);
^
user.cpp:18:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); a[1]=1; val[1]=0;
^
user.cpp:19:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=2;i<=n;i++) {scanf("%d", &a[i]); val[i]=0;}
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &m); for (i=1;i<=m;i++) {
^
user.cpp:21:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:23:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x); printf("%lld\n", val[x]);
^
user.cpp:25:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else {scanf("%d%d%d%d", &x, &y, &p, &r); det();}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 272kb | OK | 10 | 0 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 264kb | OK | 10 |
4 | 4ms | 328kb | OK | 10 |
5 | 8ms | 332kb | OK | 10 |
6 | 12ms | 1044kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 16ms | 1112kb | Killed by signal 11(SIGSEGV). | 0 |
8 | Depăşit | 1112kb | Time limit exceeded. | 0 |
9 | 20ms | 1280kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 28ms | 1456kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |