Pagini recente » Borderou de evaluare (job #1496504) | Borderou de evaluare (job #702639) | Borderou de evaluare (job #2544970) | Borderou de evaluare (job #191823) | Borderou de evaluare (job #1212586)
Borderou de evaluare (job #1212586)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(pFile,"%d",&n);
^
user.cpp:16:35: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(pFile,"%d",&cursor);
^
user.cpp:23:5: warning: variable ‘p1’ set but not used [-Wunused-but-set-variable]
int p1,p2;
^
user.cpp:23:8: warning: unused variable ‘p2’ [-Wunused-variable]
int p1,p2;
^
user.cpp:27:5: warning: unused variable ‘aux’ [-Wunused-variable]
int aux;
^
user.cpp:13:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&n);
^
user.cpp:16:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(pFile,"%d",&cursor);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 0ms | 592kb | OK | 10 |
4 | 0ms | 544kb | OK | 10 |
5 | 24ms | 1652kb | OK | 10 |
6 | 88ms | 4528kb | OK | 10 |
7 | 124ms | 6340kb | OK | 10 |
8 | 236ms | 11424kb | OK | 10 |
9 | 252ms | 12192kb | OK | 10 |
10 | 260ms | 12192kb | OK | 10 |
Punctaj total | 100 |