Pagini recente » Borderou de evaluare (job #880670) | Borderou de evaluare (job #1095689) | Borderou de evaluare (job #2680562) | Borderou de evaluare (job #1162673) | Borderou de evaluare (job #1928292)
Borderou de evaluare (job #1928292)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
fscanf(in, "%d", &n);
^
user.cpp:28:39: warning: conversion lacks type at end of format [-Wformat=]
fprintf(out, "%l", res);
^
user.cpp:28:39: warning: too many arguments for format [-Wformat-extra-args]
user.cpp:13:6: warning: unused variable ‘b’ [-Wunused-variable]
int b=0;
^
user.cpp:14:6: warning: unused variable ‘cn’ [-Wunused-variable]
int cn=n;
^
user.cpp:12:22: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
2 | 0ms | 260kb | Incorect | 0 |
3 | 0ms | 264kb | Incorect | 0 |
4 | 0ms | 260kb | Incorect | 0 |
5 | 0ms | 264kb | Incorect | 0 |
6 | 0ms | 352kb | Incorect | 0 |
7 | 0ms | 404kb | Incorect | 0 |
8 | 4ms | 584kb | Incorect | 0 |
9 | 8ms | 896kb | Incorect | 0 |
10 | 12ms | 1228kb | Incorect | 0 |
Punctaj total | 0 |