Pagini recente » Borderou de evaluare (job #2089162) | Borderou de evaluare (job #1601537) | Borderou de evaluare (job #2225579) | Borderou de evaluare (job #569604) | Borderou de evaluare (job #1219633)
Borderou de evaluare (job #1219633)
Raport evaluator
Compilare:
user.cpp: In function ‘void citeste()’:
user.cpp:15:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);s=0;
^
user.cpp:18:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:86:21: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%u",s1-s);
^
user.cpp: In function ‘void citeste()’:
user.cpp:13:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biscuiti.in","r",stdin);
^
user.cpp:14:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("biscuiti.out","w",stdout);
^
user.cpp:15:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);s=0;
^
user.cpp:18:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 312kb | OK | 10 |
2 | 140ms | 5152kb | Incorect | 0 |
3 | 4ms | 568kb | Incorect | 0 |
4 | 12ms | 868kb | Incorect | 0 |
5 | 124ms | 5072kb | Incorect | 0 |
6 | 128ms | 5096kb | Incorect | 0 |
7 | 132ms | 5116kb | Incorect | 0 |
8 | 140ms | 5148kb | Incorect | 0 |
9 | 136ms | 5144kb | Incorect | 0 |
10 | 140ms | 5156kb | Incorect | 0 |
Punctaj total | 10 |