Pagini recente » Borderou de evaluare (job #2271731) | Borderou de evaluare (job #1160854) | Borderou de evaluare (job #2378901) | Borderou de evaluare (job #291464) | Borderou de evaluare (job #1749027)
Borderou de evaluare (job #1749027)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:54: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
#define openfile {freopen("harbingers.in","rt",stdin);freopen("harbingers.out","wt",stdout);}
^
user.cpp:60:12: note: in expansion of macro ‘openfile’
if (HOME) openfile;
^
user.cpp:12:92: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
#define openfile {freopen("harbingers.in","rt",stdin);freopen("harbingers.out","wt",stdout);}
^
user.cpp:60:12: note: in expansion of macro ‘openfile’
if (HOME) openfile;
^
user.cpp:61:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:64:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d", &u, &v, &w);
^
user.cpp:67:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
FOR(i, 2, n) scanf("%lld%lld", &s[i], &val[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3200kb | OK | 10 |
2 | 8ms | 3696kb | OK | 10 |
3 | 128ms | 11108kb | OK | 10 |
4 | 140ms | 14792kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 172ms | 15944kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 204ms | 17080kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 172ms | 10864kb | OK | 10 |
8 | Depăşit | 14488kb | Time limit exceeded. | 0 |
9 | Depăşit | 11472kb | Time limit exceeded. | 0 |
10 | Depăşit | 15676kb | Time limit exceeded. | 0 |
Punctaj total | 40 |