Pagini recente » Borderou de evaluare (job #227368) | Borderou de evaluare (job #1145147) | Borderou de evaluare (job #143972) | Borderou de evaluare (job #1735565) | Borderou de evaluare (job #1345264)
Borderou de evaluare (job #1345264)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
fscanf(f,"%d %d",&a,&n);
^
user.cpp:35:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:36:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
fprintf(g,"%d\n",(puterea(a,n-1))%n);
^
user.cpp:32:9: warning: unused variable ‘i’ [-Wunused-variable]
int i,j;
^
user.cpp:32:11: warning: unused variable ‘j’ [-Wunused-variable]
int i,j;
^
user.cpp:35:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%d %d",&a,&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 432kb | OK | 10 |
| 2 | 0ms | 432kb | Incorect | 0 |
| 3 | 0ms | 432kb | Incorect | 0 |
| 4 | 0ms | 432kb | Incorect | 0 |
| 5 | 0ms | 432kb | Incorect | 0 |
| 6 | 0ms | 432kb | Incorect | 0 |
| 7 | 0ms | 436kb | Incorect | 0 |
| 8 | 0ms | 432kb | Incorect | 0 |
| 9 | 0ms | 432kb | Incorect | 0 |
| 10 | 0ms | 432kb | Incorect | 0 |
| Punctaj total | 10 |