Pagini recente » Borderou de evaluare (job #2078703) | Borderou de evaluare (job #2146343) | Cod sursa (job #2411579) | Borderou de evaluare (job #2063208) | Borderou de evaluare (job #1437327)
Borderou de evaluare (job #1437327)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin,"%hd%hd",&sum,&n);
^
user.cpp:16:32: warning: format ‘%hd’ expects argument of type ‘short int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd%hd",&sum,&n);
^
user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hd",&mat[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 284kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 0ms | 460kb | OK | 10 |
8 | 0ms | 352kb | OK | 10 |
9 | 4ms | 552kb | OK | 10 |
10 | 4ms | 504kb | OK | 10 |
Punctaj total | 100 |