Pagini recente » Borderou de evaluare (job #2610841) | Borderou de evaluare (job #302576) | Borderou de evaluare (job #825742) | Borderou de evaluare (job #2451593) | Borderou de evaluare (job #1320739)
Borderou de evaluare (job #1320739)
Raport evaluator
Compilare:
user.cpp: In function ‘int caut(int, int)’:
user.cpp:13:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp: In function ‘int main()’:
user.cpp:46:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[60005]’ [-Wformat=]
fscanf(f,"%s",&a);
^
user.cpp:40:13: warning: unused variable ‘k’ [-Wunused-variable]
int i,j,k,ok;
^
user.cpp:40:15: warning: unused variable ‘ok’ [-Wunused-variable]
int i,j,k,ok;
^
user.cpp: In function ‘int caut(int, int)’:
user.cpp:36:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:43:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d",&T);
^
user.cpp:46:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&a);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 428kb | Incorect | 0 | 0 |
2 | 0ms | 424kb | OK | 10 |
3 | 0ms | 436kb | OK | 10 |
4 | 0ms | 432kb | OK | 10 |
5 | 8ms | 524kb | OK | 10 | 10 |
6 | 12ms | 556kb | OK | 10 | 10 |
7 | 20ms | 688kb | OK | 10 | 10 |
8 | 40ms | 892kb | OK | 10 | 10 |
9 | 32ms | 800kb | OK | 10 | 10 |
10 | 52ms | 1112kb | OK | 10 | 10 |
Punctaj total | 60 |