Pagini recente » Borderou de evaluare (job #2621125) | Borderou de evaluare (job #3040956) | Borderou de evaluare (job #2930435) | Borderou de evaluare (job #2388311) | Borderou de evaluare (job #2129961)
Borderou de evaluare (job #2129961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5002]’ [-Wformat=]
fscanf(f,"%s",&a);
^
user.cpp:19:21: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[5002]’ [-Wformat=]
fscanf(f,"%s",&b);
^
user.cpp:48:34: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sol[cop1]=NULL;
^
user.cpp:97:35: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
sol1[cop2]=NULL;
^
user.cpp:13:42: warning: unused variable ‘ver’ [-Wunused-variable]
int n,i,ok1=0,ss=-1,ss1=-1,j,k,ok2=0,ver,cop1,cop2;
^
user.cpp:17:23: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d ",&n);
^
user.cpp:18:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&a);
^
user.cpp:19:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 876kb | OK | 10 |
2 | 0ms | 756kb | Incorect | 0 |
3 | 0ms | 804kb | OK | 10 |
4 | 0ms | 808kb | OK | 10 |
5 | 0ms | 796kb | OK | 10 |
6 | 0ms | 756kb | OK | 10 |
7 | 0ms | 860kb | OK | 10 |
8 | 0ms | 868kb | OK | 10 |
9 | 0ms | 864kb | OK | 10 |
10 | 0ms | 864kb | OK | 10 |
Punctaj total | 90 |