Pagini recente » Borderou de evaluare (job #2020911) | Borderou de evaluare (job #441382) | Borderou de evaluare (job #974456) | Borderou de evaluare (job #865164) | Borderou de evaluare (job #1562989)
Borderou de evaluare (job #1562989)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:19:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=a;i<=b;i++)
^
user.cpp:31:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d %d %d",minn,div,nr);
^
user.cpp:15:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in","r",stdin);
^
user.cpp:16:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out","w",stdout);
^
user.cpp:19:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | Depăşit | 400kb | Time limit exceeded. | 0 | 0 |
2 | Depăşit | 400kb | Time limit exceeded. | 0 |
3 | Depăşit | 404kb | Time limit exceeded. | 0 |
4 | Depăşit | 400kb | Time limit exceeded. | 0 |
5 | Depăşit | 396kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 400kb | Time limit exceeded. | 0 |
7 | Depăşit | 400kb | Time limit exceeded. | 0 |
8 | 0ms | 436kb | OK | 10 | 0 |
9 | Depăşit | 400kb | Time limit exceeded. | 0 |
10 | Depăşit | 400kb | Time limit exceeded. | 0 |
Punctaj total | 0 |