Pagini recente » Cod sursa (job #81099) | Cod sursa (job #876352) | Borderou de evaluare (job #2572447) | Cod sursa (job #876552) | Borderou de evaluare (job #2062727)
Borderou de evaluare (job #2062727)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf ( "%d%d", &m, &n );
^
user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=]
user.cpp:15:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=]
scanf ( "%d", &a[i][j] );
^
user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "lacusta.in", "r", stdin );
^
user.cpp:10:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ( "lacusta.out", "w", stdout );
^
user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d%d", &m, &n );
^
user.cpp:15:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ( "%d", &a[i][j] );
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 516kb | OK | 10 | 30 |
| 2 | 8ms | 472kb | OK | 10 |
| 3 | 0ms | 324kb | OK | 10 |
| 4 | 0ms | 320kb | OK | 10 | 30 |
| 5 | 0ms | 372kb | OK | 10 |
| 6 | 0ms | 344kb | OK | 10 |
| 7 | 0ms | 312kb | OK | 10 | 40 |
| 8 | 0ms | 356kb | OK | 10 |
| 9 | 0ms | 376kb | OK | 10 |
| 10 | 12ms | 496kb | OK | 10 |
| Punctaj total | 100 |