Pagini recente » Cod sursa (job #1173055) | Cod sursa (job #657261) | Cod sursa (job #319819) | Borderou de evaluare (job #1677723) | Borderou de evaluare (job #1558123)
Borderou de evaluare (job #1558123)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:28: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%u %u", &m, &n);
^
user.cpp:9:28: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:12:30: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(fi,"%u",&a[i][j]);
^
user.cpp:9:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%u %u", &m, &n);
^
user.cpp:12:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fi,"%u",&a[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 12ms | 512kb | OK | 10 | 30 |
| 2 | 8ms | 472kb | OK | 10 |
| 3 | 0ms | 320kb | OK | 10 |
| 4 | 0ms | 320kb | OK | 10 | 30 |
| 5 | 0ms | 368kb | OK | 10 |
| 6 | 0ms | 344kb | OK | 10 |
| 7 | 0ms | 308kb | OK | 10 | 40 |
| 8 | 0ms | 360kb | OK | 10 |
| 9 | 0ms | 368kb | OK | 10 |
| 10 | 12ms | 496kb | OK | 10 |
| Punctaj total | 100 |