Pagini recente » Borderou de evaluare (job #629406) | Borderou de evaluare (job #2969668) | Borderou de evaluare (job #2741579) | Borderou de evaluare (job #858885) | Borderou de evaluare (job #1650642)
Borderou de evaluare (job #1650642)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d\n%d %d %d\n", &p, &n, &k, &d);
^
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long int*’ [-Wformat=]
user.cpp:11:43: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long int*’ [-Wformat=]
user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d\n", &x, &y);
^
user.cpp:33:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:36:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d\n", nr1);
^
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.in","r",stdin);
^
user.cpp:10:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pseudobil.out","w",stdout);
^
user.cpp:11:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%d %d %d\n", &p, &n, &k, &d);
^
user.cpp:14:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld\n", &x, &y);
^
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld\n", &m);
^
user.cpp:23:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld", &x, &y);
^
user.cpp:33:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 304kb | OK | 5 |
| 2 | 0ms | 1240kb | OK | 5 |
| 3 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 1144kb | OK | 5 |
| 6 | 4ms | 4148kb | OK | 5 |
| 7 | 16ms | 8772kb | OK | 5 |
| 8 | 20ms | 10148kb | OK | 5 |
| 9 | 20ms | 11004kb | OK | 5 |
| 10 | 24ms | 11356kb | OK | 5 |
| 11 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 12 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 13 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 14 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
| 15 | 0ms | 264kb | Killed by signal 11(SIGSEGV). | 0 |
| 16 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 17 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 18 | 0ms | 240kb | Killed by signal 11(SIGSEGV). | 0 |
| 19 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
| 20 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 40 |