Pagini recente » Borderou de evaluare (job #1267708) | Borderou de evaluare (job #650052) | Borderou de evaluare (job #1731752) | Borderou de evaluare (job #311896) | Borderou de evaluare (job #1994242)
Borderou de evaluare (job #1994242)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘LL* {aka long long int*}’ [-Wformat=]
rep(i,1,n) scanf("%d %d", t + i, v + i);
^
user.cpp:54:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘LL* {aka long long int*}’ [-Wformat=]
user.cpp:60:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=]
printf("%d", dp[1]);
^
user.cpp:61:32: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘LL {aka long long int}’ [-Wformat=]
rep(i,2,n) printf(" %d", dp[i]);
^
user.cpp:43:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.in","r",stdin);
^
user.cpp:44:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("harbingers.out","w",stdout);
^
user.cpp:46:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:49:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &u, &v, &c);
^
user.cpp:54:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
rep(i,1,n) scanf("%d %d", t + i, v + i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 6620kb | Incorect | 0 |
2 | 12ms | 7080kb | Incorect | 0 |
3 | 124ms | 13776kb | Incorect | 0 |
4 | 204ms | 17428kb | Incorect | 0 |
5 | 204ms | 20376kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 236ms | 21788kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 196ms | 14296kb | Incorect | 0 |
8 | 336ms | 17968kb | Incorect | 0 |
9 | 328ms | 19796kb | Incorect | 0 |
10 | 304ms | 18648kb | Incorect | 0 |
Punctaj total | 0 |