Pagini recente » Borderou de evaluare (job #3200179) | Borderou de evaluare (job #31445) | Borderou de evaluare (job #1707349) | Borderou de evaluare (job #2414227) | Borderou de evaluare (job #1209158)
Borderou de evaluare (job #1209158)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(pFile,"%d",&a);
^
user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
fscanf(pFile,"%d",&b);
^
user.cpp:25:6: warning: variable ‘ok’ set but not used [-Wunused-but-set-variable]
int ok=0;
^
user.cpp:10:11: warning: unused variable ‘n’ [-Wunused-variable]
short n,m[200][200]={},a,b;
^
user.cpp:14:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&a);
^
user.cpp:15:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&b);
^
user.cpp:24:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 548kb | OK | 10 |
2 | 0ms | 548kb | OK | 10 |
3 | 0ms | 548kb | OK | 10 |
4 | 0ms | 548kb | OK | 10 |
5 | 4ms | 548kb | OK | 10 |
6 | 0ms | 548kb | OK | 10 |
7 | 4ms | 548kb | OK | 10 |
8 | 0ms | 500kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 500kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 544kb | OK | 10 |
Punctaj total | 80 |