Pagini recente » Borderou de evaluare (job #2941550) | Borderou de evaluare (job #249866) | Borderou de evaluare (job #1541852) | Borderou de evaluare (job #1032113) | Borderou de evaluare (job #1247886)
Borderou de evaluare (job #1247886)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&T);
^
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&V,&N);
^
user.cpp:10:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:11:33: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
if(N==1) printf("%d\n",V);
^
user.cpp:6:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.in","r",stdin);
^
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("progresii2.out","w",stdout);
^
user.cpp:8:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&T);
^
user.cpp:10:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&V,&N);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | Incorect | 0 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 252kb | Incorect | 0 |
4 | 144ms | 256kb | Incorect | 0 |
5 | 140ms | 256kb | Incorect | 0 |
6 | 136ms | 260kb | Incorect | 0 |
7 | 132ms | 260kb | Incorect | 0 |
8 | 132ms | 256kb | Incorect | 0 |
9 | 140ms | 256kb | Incorect | 0 |
10 | 136ms | 256kb | Incorect | 0 |
Punctaj total | 0 |