Pagini recente » Borderou de evaluare (job #2926582) | Borderou de evaluare (job #1862331) | Statistici Caroline Jones (pestcontrol373) | Borderou de evaluare (job #1415304) | Borderou de evaluare (job #1254276)
Borderou de evaluare (job #1254276)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:71: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf ("%d %d %d %d", &intrare.x, &intrare.y, &iesire.x, &iesire.y); // aici citim locul de intrare si de iesire din parc
^
user.cpp:30:71: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:30:71: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:30:71: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=]
user.cpp:21:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("alee.in", "r", stdin); // deschidem fisierul pentru citire
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &N, &C); // citim dimensiunea parcului si numarul de copaci
^
user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y); // citim coordonatele copacilor
^
user.cpp:30:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d %d %d", &intrare.x, &intrare.y, &iesire.x, &iesire.y); // aici citim locul de intrare si de iesire din parc
^
user.cpp:64:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("alee.out", "w", stdout); // deschidem fisierul pentru scriere
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | Incorect | 0 |
| 2 | 0ms | 280kb | Incorect | 0 |
| 3 | 0ms | 312kb | Incorect | 0 |
| 4 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 352kb | Incorect | 0 |
| 6 | 0ms | 548kb | Incorect | 0 |
| 7 | 4ms | 560kb | Incorect | 0 |
| 8 | 0ms | 620kb | Incorect | 0 |
| 9 | 0ms | 424kb | Incorect | 0 |
| 10 | 0ms | 348kb | Incorect | 0 |
| Punctaj total | 0 |