Pagini recente » Borderou de evaluare (job #647422) | Borderou de evaluare (job #1598162) | Borderou de evaluare (job #939963) | Borderou de evaluare (job #1355181) | Borderou de evaluare (job #1330419)
Borderou de evaluare (job #1330419)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:24:17: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&t[i]);
^
user.cpp:57:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d%d",&p[i],&k[i]);
^
user.cpp:57:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:69:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (f=0;f<pos[i].size();++f)
^
user.cpp:18:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bridge.in","r",stdin);
^
user.cpp:19:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bridge.out","w",stdout);
^
user.cpp:21:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&Q);
^
user.cpp:24:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t[i]);
^
user.cpp:48:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d);
^
user.cpp:57:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&p[i],&k[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 356kb | OK | 10 |
2 | 0ms | 376kb | OK | 10 |
3 | 0ms | 416kb | OK | 10 |
4 | 0ms | 492kb | OK | 10 |
5 | 20ms | 372kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 20ms | 388kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 8ms | 380kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 20ms | 500kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 80ms | 380kb | Killed by signal 11(SIGSEGV). | 0 |
10 | Depăşit | 408kb | Time limit exceeded. | 0 |
Punctaj total | 40 |