Pagini recente » Borderou de evaluare (job #1697833) | Borderou de evaluare (job #2302073) | Cod sursa (job #3138043) | Borderou de evaluare (job #3274612) | Borderou de evaluare (job #1608638)
Borderou de evaluare (job #1608638)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%ld%ld",&n,&m);
^
user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:13:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf ("%ld",&a[i][j]);
^
user.cpp:35:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=]
printf ("%ld",s);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("flip.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("flip.out","w",stdout);
^
user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld%ld",&n,&m);
^
user.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%ld",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 268kb | Ok! | 10 |
| 2 | 0ms | 268kb | Raspuns gresit | 0 |
| 3 | 0ms | 264kb | Raspuns gresit | 0 |
| 4 | 0ms | 264kb | Ok! | 10 |
| 5 | 0ms | 268kb | Raspuns gresit | 0 |
| 6 | 0ms | 260kb | Raspuns gresit | 0 |
| 7 | 0ms | 268kb | Raspuns gresit | 0 |
| 8 | 0ms | 260kb | Raspuns gresit | 0 |
| 9 | 0ms | 260kb | Raspuns gresit | 0 |
| 10 | 0ms | 264kb | Raspuns gresit | 0 |
| Punctaj total | 20 |